// var pack = require('./pack.js');
// var json1 = require('./json/1.json');
// var styles = require('./css/main.css');
// require("./controller/YCalendar.js")
"use strict";
import {obj,AddH2,getNumberArray} from './pack.js';
import json1 from './json/1.json';
import './css/main.css';
import './controller/YCalendar.js';

if(obj && AddH2 && getNumberArray){
    console.log(getNumberArray()[5]);
	$('<h2 class="blue">youzhenyu</h2>').appendTo('body');
	obj.addClass('blue').appendTo('body');
    AddH2().appendTo('body');
	var $tpl = $('#testInfoList_tpl').html();
    var $content = _.template($tpl)(json1);
    $('#list').html($content);
    $('#list').slimScroll({
    	height:'100px'
    });

    $('#calendar').YCalendar('#cahead',[], true);
}